package bairui.international.console.web.controller.authority.authorization;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.servlet.ModelAndView;

import com.lianjing.sh.spring.web.controller.base.action.Action;
import com.lianjing.sh.spring.web.controller.enhance.module.context.ModuleContext;
import com.lianjing.sh.spring.web.controller.enhance.navigations.context.NavigationContext;

/**
 *
 * 产品管理入口
 *
 * @generated
 * 
 * @see STest_C_Authority_Index_Access 测试
 *
 */
@Controller
public class C_Authority_Index_Access
 extends SC_Authority_Index_Access 
{
	
	
	/**
	 * 访问页面
	 */
	@Action(Access.class)
	@GetMapping(Access.RequestMappingValue)
	public ModelAndView access(
		ModelMap map, HttpServletRequest request,
		NavigationContext navigationContext, ModuleContext moduleContext
	) throws Exception {
		/* 侧边栏 */
		C_Authority_Index_Left.importPage(map);

//		Access.navigation(request, navigationContext, getActionManager());
		/* 路径 */
		return new ModelAndView("console/authorization/authorization_index");
	}
	

}
